# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python-asyncio
pkgver=3.4.3
pkgrel=10
pkgdesc='Reference implementation of PEP 3156.'
arch=('any')
url='https://pypi.org/project/asyncio/#files'
license=('Apache2')
depends=('python')
makedepends=('python-setuptools')
source=("https://pypi.python.org/packages/source/a/asyncio/asyncio-$pkgver.tar.gz")
sha512sums=('42077cbbae3d67e6e45224cc1996f1aaaff137cdc5c8679ba830fd66098d1e9d8c05e315c8d2ef1add2f504ab769bd339e5d8ae2f7532d423282baca2d383736')

build() {
  cd "asyncio-$pkgver"

  python setup.py build
}

package() {
  cd "asyncio-$pkgver"

  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 \
    --skip-build
}

